<?php

namespace Alipay\AlipayAuth\Request;

use Alipay\Common\RequestBase;
use Alipay\AlipayAuth\Response\AlipayAuthTokenListResponse;

class AlipayAuthTokenListRequest extends RequestBase
{
    protected $method = 'alipay.open.auth.token.app.query';

    protected $response = AlipayAuthTokenListResponse::class;

    /**
     * 生成请求参数
     * @return array
     * @author xis
     */
    public function generate(): array
    {
        return [
            'app_auth_token' => $this->appAuthToken,
        ];
    }
}